package com.tencent.wepay.protocol.pay.domain;

import com.tencent.wepay.constant.enums.FeeTypeEnum;
import com.tencent.wepay.constant.enums.LimitPayEnum;
import com.tencent.wepay.constant.enums.TradeTypeEnum;
import com.tencent.wepay.util.IpUtil;

public class BaseOrder{
	private String body;
	private String detail;
	private String attach;
	private String tradeNo;
	private FeeTypeEnum feeType=FeeTypeEnum.CNY;
	private TradeTypeEnum tradeType;
	private String startTime;
	private String expireTime;
	private String goodsTag;
	private String notifyUrl;
	private String productId;
	private LimitPayEnum limitPay;
	private Integer amount;
	private String ip=IpUtil.getLocalIp();
	private String deviceInfo;
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public String getAttach() {
		return attach;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public FeeTypeEnum getFeeType() {
		return feeType;
	}
	public void setFeeType(FeeTypeEnum feeType) {
		this.feeType = feeType;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getExpireTime() {
		return expireTime;
	}
	public void setExpireTime(String expireTime) {
		this.expireTime = expireTime;
	}
	public String getGoodsTag() {
		return goodsTag;
	}
	public void setGoodsTag(String goodsTag) {
		this.goodsTag = goodsTag;
	}
	public String getNotifyUrl() {
		return notifyUrl;
	}
	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public LimitPayEnum getLimitPay() {
		return limitPay;
	}
	public void setLimitPay(LimitPayEnum limitPay) {
		this.limitPay = limitPay;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public TradeTypeEnum getTradeType() {
		return tradeType;
	}
	public void setTradeType(TradeTypeEnum tradeType) {
		this.tradeType = tradeType;
	}
	public String getDeviceInfo() {
		return deviceInfo;
	}
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
}
